//
//  PayListRequestModel.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 16/8/23.
//  Copyright © 2016年 陈区. All rights reserved.
//

#import <Foundation/Foundation.h>
#if __has_include(<Commom/SEGHTTPBusinessManager.h>)
#import <Commom/SEGHTTPBusinessManager.h>
#else
#import "SEGHTTPBusinessManager.h"
#endif

@interface PayListRequestModel : NSObject {
    NSInteger requestCount;
}

@property (nonatomic, retain) NSArray* payMethodList;

/**
 *  提交支付信息 可替换[[ServiceInterface sharedServiceInterface] submitCardPaymentWithDic:dict];
 *
 *  @param finished 网络请求完成后的操作
 */
- (void)requesConfirmBillPayWithDictionary:(NSDictionary*)params finished:(SEGNetworkReponse)finished;

/**
 *   提交请求结果 可替换[[BusinessManager sharedManager].electronicBillingEntityManager requestPollByPaymenet:
 *
 *  @param requestId requestId
 *  @param finished 网络请求完成后的操作
 */
- (void)requestPollByPaymenetResultlWithRequestId:(NSString*)requestId finished:(SEGNetworkRequestCallBack)finished;

/**
 *   检测是否包含已缴费的账单－－购物 可替换[[BusinessManager sharedManager].electronicBillingEntityManager checkOrderPaymentStatus:
 *
 *  @param orderId 账单id
 *  @param finished 网络请求完成后的操作
 */
- (void)requestCheckOrderStatusWithOrderId:(NSString*)orderId finished:(SEGNetworkReponse)finished;

/**
 *  提交支付信息列表--->购物 可替换[[BusinessManager sharedManager].electronicBillingEntityManager checkOrderPaymentStatus:
 *
 *  @param orderId 账单id
 *  @param finished 网络请求完成后的操作
 */
- (void)requestSubmitOrderPaylistWithOrderId:(NSString*)orderId withPayMethod:(NSString*)payMethod withPayeeld:(NSString*)payeeId withUrl:(NSString*)url finished:(SEGNetworkReponse)finished;

/**
 *  H5抽奖判断
 *  @param finished 网络请求完成后的操作
 */
- (void)requestCheckActivityWithFrom:(NSString*)from finished:(SEGNetworkRequestCallBack)finished;

/**
 * 月租车位支付成功回调
 * @author Wendy
 * @param MID 月卡唯一标识
 * @param OrderNo 业务流水号
 * @param PayNo 支付单号
 * @param PayType 支付类型 (0：现金 1：微信支付 2：支付宝支付 3：银联支付 4：ETC支付 5：招商通支付 6：其它支付)
 * @param PayTime 支付时间
 * @param Total 金额
 * @param finished 回调结果
 */
+ (void)requestMonthCardSavePayRecordWithMID:(NSString *)MID
                                     OrderNo:(NSString *)OrderNo
                                       PayNo:(NSString *)PayNo
                                     PayType:(NSString *)PayType
                                     PayTime:(NSString *)PayTime
                                       Total:(NSString *)Total
                                    finished:(SEGRequestCallBack)finished;

/**
 * 车辆临停 获取App返回的支付结果
 * @author Wendy
 * @param PID 停车场ID
 * @param OrderNo 业务流水号
 * @param PlateNum 车牌号
 * @param PayNo 支付单号
 * @param PayType 支付类型 (0：现金 1：微信支付 2：支付宝支付 3：银联支付 4：ETC支付 5：招商通支付 6：其它支付)
 * @param PayTime 支付时间
 * @param Coupon 优惠券（元）
 * @param Total 实收金额（元）
 * @param Receivable 应收账款（元）
 * @param CardNo 支付账号（卡号）
 * @param Operator 收费员（如：达实/招商通/停车场保安）
 * @param finished 回调结果
 */
+ (void)requestSavePayRecordWithPlatePID:(NSString *)PID
                                 OrderNo:(NSString *)OrderNo
                                PlateNum:(NSString *)PlateNum
                                   PayNo:(NSString *)PayNo
                                 PayType:(NSString *)PayType
                                 PayTime:(NSString *)PayTime
                                  Coupon:(NSString *)Coupon
                                   Total:(NSString *)Total
                              Receivable:(NSString *)Receivable
                                  CardNo:(NSString *)CardNo
                                Operator:(NSString *)Operator
                                finished:(SEGRequestCallBack)finished;
@end
